#ifndef BASE64_H
#define BASE64_H

#include <string>
#include <vector>

class Base64 {
public:
    static char encode(unsigned char);
    static unsigned char decode(char);
    static bool isBase64(char);

public:
    static std::string encode(const std::vector<unsigned char> &);
    static std::vector<unsigned char> decode(const std::string &);

};
#endif
